// Copyright 2023 Open Source Robotics Foundation, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef RCL__NODE_IMPL_H_
#define RCL__NODE_IMPL_H_

#include "rcl/guard_condition.h"
#include "rcl/node_options.h"
#include "rcl/node.h"
#include "rcl/service.h"
#include "rcl/types.h"
#include "rcutils/types/hash_map.h"
#include "rmw/types.h"

struct rcl_node_impl_s
{
  rcl_node_options_t options;
  rmw_node_t * rmw_node_handle;
  rcl_guard_condition_t * graph_guard_condition;
  const char * logger_name;
  const char * fq_name;
#ifdef RCL_MICROROS_COMPLETE_IMPL
  rcutils_hash_map_t registered_types_by_type_hash;
#endif  // RCL_MICROROS_COMPLETE_IMPL
};

#endif  // RCL__NODE_IMPL_H_
